package com.cqie.tes.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cqie.tes.comm.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("sys_role")
@ApiModel(value = "SysRole对象",description = "角色对象SysRole")
public class SysRole extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色id",name = "id")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "角色名称",name = "name")
    @TableField
    private String name;

    @ApiModelProperty(value = "角色状态",name = "status")
    @TableField
    private Integer status;

    @ApiModelProperty(value = "逻辑删除",name = "mark")
    @TableField
    private Integer mark;

}
